package com.example.carowners;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainActivity extends AppCompatActivity implements View.OnClickListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Button bt_service = findViewById(R.id.bt_service);

        bt_service.setOnClickListener(this);


    }

    @Override
    public void onClick(View v) {
        startActivity(
            new Intent(this,CarownersService.class)
        );
    }
}